package com.allqj.sfx.domain.entity;

import com.allqj.sfx.domain.enums.DomainTypeEnum;

/**
 * @author sjw
 * @className LoginInfo
 * @date 2022/7/20 17:50
 * @description: 当前登录信息
 */
public class UserInfo {
    // 用户id
    private Integer userId;
    // 用户姓名
    private String userName;
    // 机构/租户id
    private Integer tenantId;
    // 部门id
    private Integer deptId;
    // 角色id
    private Integer roleId;
    //
    private DomainTypeEnum domainTypeEnum;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getTenantId() {
        return tenantId;
    }

    public void setTenantId(Integer tenantId) {
        this.tenantId = tenantId;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public DomainTypeEnum getDomainTypeEnum() {
        return domainTypeEnum;
    }

    public void setDomainTypeEnum(DomainTypeEnum domainTypeEnum) {
        this.domainTypeEnum = domainTypeEnum;
    }
}
